<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>水平折叠 - jQuery EasyUI 演示</title>
	<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
	<link rel="stylesheet" type="text/css" href="../demo.css">
	<script type="text/javascript" src="../../jquery.min.js"></script>
	<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
</head>
<body>
	<h2 title="Horizontal Accordion">水平折叠</h2>
	<p title="You can easily set the 'halign' property to create a horizontal accordion.">　　可通过设置【halign】属性来轻松创建水平折叠。</p>
	<div style="margin:20px 0 10px 0;"></div>
	<div class="easyui-accordion" halign="left" style="width:700px;height:300px;">
		<div title="关于" titleDirection="up" style="overflow:auto;padding:10px;">
			<h3 style="color:#0099FF;" title="Accordion for jQuery">jQuery 折叠</h3>
			<p title="Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.">　　折叠是 jQuery easyui 框架的一部分。可助你轻松定义网页上的折叠组件。</p>
		</div>
		<div title="帮助" titleDirection="up" style="padding:10px;">
			<p title="The accordion allows you to provide multiple panels and display one ore more at a time. Each panel has built-in support for expanding and collapsing. Clicking on a panel header to expand or collapse that panel body. The panel content can be loaded via ajax by specifying a 'href' property. Users can define a panel to be selected. If it is not specified, then the first panel is taken by default.">　　折叠允许你提供多个面板并同时显示一个或多个。每个面板具有对展开和收缩的内置支持。点击面板头可展开或收缩该面板体。面板内容可通过定义『href』属性来由 ajax 加载。用户可定义一个能被选定的面板，如未指定则默认首个。</p> 	
		</div>
		<div title="树菜单" titleDirection="up" style="padding:10px;">
			<ul class="easyui-tree">
				<li>
					<span>食品</span>
					<ul>
						<li>
							<span>水果</span>
							<ul>
								<li>苹果</li>
								<li>橘子</li>
							</ul>
						</li>
						<li>
							<span>蔬菜</span>
							<ul>
								<li>西红柿</li>
								<li>胡萝卜</li>
								<li>卷心菜</li>
								<li>土豆</li>
								<li>生菜</li>
							</ul>
						</li>
					</ul>
				</li>
			</ul>
		</div>
	</div>
</body>
</html>